import { EConfigItemPropsType, EDoneJsonType, IConfigItem } from '@/config-center/types';

export const public_state_circle: IConfigItem = {
  name: 'public-state-circle',
  title: '状态',
  tag: 'public-state-circle',
  type: EDoneJsonType.CustomSvg,
  config: {
    can_zoom: false,
    have_anchor: false,
    actual_rect: false
  },
  display: true,
  props: {
    state: {
      title: '类型',
      type: EConfigItemPropsType.Select,
      val: 1,
      options: [
        { label: '成功', value: 1 },
        { label: '警告', value: 2 },
        { label: '危险', value: 3 },
        { label: '信息', value: 4 }
      ]
    },
    bgwidth: {
      title: '半径',
      type: EConfigItemPropsType.InputNumber,
      val: 10
    }
  },
  common_animations: {
    val: '',
    delay: 'delay-0s',
    speed: 'slow',
    repeat: 'infinite'
  }
};
